/*++

Copyright (c) 2007  Microsoft Corporation 

Filename: 
	
	DatabaseConfigDetail.cs 

Abstract: 
	
	This file contains configuration details to connect to the database.     
-*/

namespace NRTMAddIn
{

    #region Namespaces

    using System;

    #endregion

    /// <summary>
    /// Summary description for DatabaseConfigDetails.
    /// </summary>
    public class DatabaseConfigDetails
    {
        #region variables

        //To store Database and DatabaseServer name
        private string databaseName;
        private string databaseServerName;

        #endregion

        #region constructor

        /// <summary>
        /// Parameterized Constructor for Initialization
        /// </summary>
        /// <param name="name">Database Name</param>
        /// <param name="serverName">Database Server Name</param>
        public DatabaseConfigDetails(string name, string serverName)
        {
            this.databaseName = name;
            this.databaseServerName = serverName;
        }
        #endregion

        #region properties

        /// <summary>
        /// Database Name
        /// </summary>
        public string DatabaseName
        {
            get
            {
                return this.databaseName;
            }
        }


        /// <summary>
        /// Database Server Name
        /// </summary>
        public string DatabaseServerName
        {
            get
            {
                return this.databaseServerName;
            }
        }
        #endregion
    }
}